<?php

namespace app\index\controller;
use app\FrontController;
use think\facade\Db;
use think\facade\Cache;
use think\facade\Validate;
use support\Request;

class IndexController extends FrontController{

    private $domain = '';

    
    public function login()
    {
        $tab = $this->assign_arr;
        return view("index/login",$tab);
    }
    public function regist()
    {
        $tab = $this->assign_arr;
        return view("index/regist",$tab);
    }
    public function index()
    {
        $tab = array("top_tab"=>'1');
        $tab = array_merge($tab,$this->assign_arr);
        return view("index/index",$tab);
    }
    public function fogetpwd()
    {
        $tab = $this->assign_arr;
        return view("index/fogetpwd",$tab);
    }
    public function release()
    {
        $tab = array("top_tab"=>'2');
        $tab = array_merge($tab,$this->assign_arr);
        return view("index/release",$tab);
    }
    public function tasklist()
    {
        $param = array();
        $paramtmp = $this->request->all();
        if(!empty($paramtmp)){
            $param = $paramtmp;
        }
        $param["top_tab"]='3';
        $param["title"]='';
        $param["id"]=$this->request->get("id");
        $param["sort"]='mission_id';
        $param["mission_no"]='';
        $param["intergralzone"]='';
        $param["mission_hall_status"]='';
        $param["slt_bid_mode"]='';
        $param = array_merge($param,$this->assign_arr);
        return view("index/tasklist",$param);
        
    }
}